package jp.tkym.labs.store;

import jp.tkym.labs.util.beankey.BeanKey;

public interface Beanstore<B>{
	public void put(B bean) throws BeanstoreException;
	public void remove(B bean) throws BeanstoreException;
	public boolean contains(BeanKey key) throws BeanstoreException;
	public B get(BeanKey key) throws BeanstoreException;
	public void ensure() throws BeanstoreException;
}